package io.zbc.grow.arithmetic.vo;

import lombok.Data;

/**
 * @author zbc
 * @date 2022/12/1
 */
@Data
public class Binary extends Question {

    private int firstNumber;
    private int secondNumber;
    private String operation;

    public Binary(int firstNumber, int secondNumber, String operation) {
        this.firstNumber = firstNumber;
        this.secondNumber = secondNumber;
        this.operation = operation;
    }

    @Override
    public String toString() {
        return firstNumber + " " + operation + " " + secondNumber + " = ( )\n";
    }

}
